﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： UsersEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-12-11
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CRM.Infrastructure.Entity
{
	/// <summary>
	///用户表数据实体  
	/// </summary>
    [PrimaryKey("UserID")]
	public class Users
	{
		///<summary>
		///用户表
		///</summary>
		public Users()
		{
		}	
    
		
		///<summary>
		///用户ID
		///</summary>
        [Column("UserID","用户ID")]
        public long UserID { get; set; }

		///<summary>
		///手机号码
		///</summary>
        [Column("Mobile","手机号码")]
        public string Mobile { get; set; }

		///<summary>
		///登陆密码
		///</summary>
        [Column("PassWord","登陆密码")]
        public string PassWord { get; set; }

		///<summary>
		///用户头像
		///</summary>
        [Column("UserHead","用户头像")]
        public string UserHead { get; set; }

		///<summary>
		///用户名称
		///</summary>
        [Column("UserName","用户名称")]
        public string UserName { get; set; }
      
		///<summary>
		///1-男，2-女
		///</summary>
        [Column("UserGender","1-男，2-女")]
        public int UserGender { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdatedDate","更新时间")]
        public DateTime UpdatedDate { get; set; }

		///<summary>
		///备注
		///</summary>
        [Column("Remark","备注")]
        public string Remark { get; set; }

		///<summary>
		///逻辑删除
		///</summary>
        [Column("IsActive","逻辑删除")]
        public int IsActive { get; set; }

		///<summary>
		///接单次数
		///</summary>
        [Column("OrderNumer","接单次数")]
        public int OrderNumer { get; set; }

		///<summary>
		///
		///</summary>
        [Column("TodoNumber","")]
        public int TodoNumber { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CompanyName","")]
        public string CompanyName { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CompanyID","")]
        public int CompanyID { get; set; }

		///<summary>
		///角色(1：默认管理员 2：其他)
		///</summary>
        [Column("RoleID","角色(1：默认管理员 2：其他)")]
        public int RoleID { get; set; }

        ///<summary>
		///是否停用(1：停用 0：正常)
		///</summary>
        [Column("IsStop", "是否停用(1：停用 0：正常)")]
        public int IsStop { get; set; }

        ///<summary>
		///
		///</summary>
        [Column("CallCode", "")]
        public string CallCode { set; get; }

        ///<summary>
		///
		///</summary>
        [Column("CallPwd", "")]
        public string CallPwd { set; get; }
    }
}